package com.ruoyi.server.api.memberCoach.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.server.api.memberCoach.domain.MemberCoach;
import com.ruoyi.server.api.memberCoach.model.MemberCoachAndCoachManagement;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 会员用户教练关系Service接口
 *
 * @author zmh
 * @date 2024-06-12
 */
public interface IMemberCoachService
{


    /**
     * 查询会员用户教练关系列表
     *
     * @param id venueUniqueIdentifier 会员用户教练关系
     * @return 会员用户教练关系集合
     */
    public List<MemberCoachAndCoachManagement> memberCoachById(Integer id, String venueUniqueIdentifier);
    /**
    * @Author ZMH
    * @Description 续课
    * @Date 2024/6/13 18:59
    * @Return
    * @param courseTime,memberUserId,courseId,venueUniqueIdentifier
    */
    int addCourseTime(Integer courseTime, Integer courseId ,Integer memberUserId , String venueUniqueIdentifier);
//
//    /**
//     * @Author ZMH
//     * @Description 退课程时长
//     * @Date 2024/6/13 18:59
//     * @Return
//     * @param courseTime,memberUserId,courseId,venueUniqueIdentifier
//     */
//    int refundCourseTime(Integer courseTime, Integer courseId ,Integer memberUserId , String venueUniqueIdentifier);
}
